<template>
  <div class="bw-custom-com-desigin-canvas">
    <div class="bw-slot-container" data-nodetype="canvas">
      <slot name="default">
        <div class="bw-design-container-slot">
          <span>请开始设计组件</span>
        </div>
      </slot>
    </div>
  </div>
</template>

<script lang="ts" setup></script>

<style lang="less" scoped>
.bw-custom-com-desigin-canvas {
  padding: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  overflow: auto;

  .bw-slot-container {
    width: 100%;
    height: 100%;
    min-height: 60px;
    position: relative;
    display: inherit;
    flex-direction: inherit;

    .bw-design-container-slot {
      width: 100%;
      min-height: 60px;
      line-height: 60px;
      text-align: center;
      background-color: #f0f0f0 !important;

      span {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.85);
      }
    }
  }
}
</style>
